<!DOCTYPE html>
<!-- saved from url=(0043)https://www.cnblogs.com/eedc/p/6168430.html -->
<html lang="zh-cn"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="referrer" content="origin">
    <title>如何用命令将本地项目上传到git - eedc - 博客园</title>
<meta property="og:description" content="1、（先进入项目文件夹）通过命令 git init 把这个目录变成git可以管理的仓库 2、把文件添加到版本库中，使用命令 git add .添加到暂存区里面去，不要忘记后面的小数点“.”，意为添加文">
    <link type="text/css" rel="stylesheet" href="./如何用命令将本地项目上传到git - eedc - 博客园_files/blog-common.css">
<link id="MainCss" type="text/css" rel="stylesheet" href="./如何用命令将本地项目上传到git - eedc - 博客园_files/bundle-darkgreentrip.css">
<link id="mobile-style" media="only screen and (max-width: 767px)" type="text/css" rel="stylesheet" href="./如何用命令将本地项目上传到git - eedc - 博客园_files/bundle-darkgreentrip-mobile.css">
    <link title="RSS" type="application/rss+xml" rel="alternate" href="https://www.cnblogs.com/eedc/rss">
    <link title="RSD" type="application/rsd+xml" rel="EditURI" href="https://www.cnblogs.com/eedc/rsd.xml">
<link type="application/wlwmanifest+xml" rel="wlwmanifest" href="https://www.cnblogs.com/eedc/wlwmanifest.xml">
    <script src="./如何用命令将本地项目上传到git - eedc - 博客园_files/osd.js"></script><script src="./如何用命令将本地项目上传到git - eedc - 博客园_files/amp4ads-host-v0.js"></script><script src="./如何用命令将本地项目上传到git - eedc - 博客园_files/pubads_impl_rendering_320.js"></script><script async="" src="./如何用命令将本地项目上传到git - eedc - 博客园_files/analytics.js"></script><script type="text/javascript" src="./如何用命令将本地项目上传到git - eedc - 博客园_files/encoder.js"></script><script src="./如何用命令将本地项目上传到git - eedc - 博客园_files/jquery-2.2.0.min.js"></script>
    <script>var currentBlogId=158014;var currentBlogApp='eedc',cb_enable_mathjax=false;var isLogined=false;</script>
    <script src="./如何用命令将本地项目上传到git - eedc - 博客园_files/blog-common.js" type="text/javascript"></script>
<link rel="preload" href="./如何用命令将本地项目上传到git - eedc - 博客园_files/f.txt" as="script"><script type="text/javascript" src="./如何用命令将本地项目上传到git - eedc - 博客园_files/f.txt"></script><script src="./如何用命令将本地项目上传到git - eedc - 博客园_files/pubads_impl_320.js" async=""></script><link rel="prefetch" href="https://tpc.googlesyndication.com/safeframe/1-0-32/html/container.html"></head>
<body>
<a name="top"></a>


<!--done-->
<div id="home">
<div id="header">
	<div id="blogTitle">
	<a id="lnkBlogLogo" href="https://www.cnblogs.com/eedc/"><img id="blogLogo" src="./如何用命令将本地项目上传到git - eedc - 博客园_files/logo.gif" alt="返回主页"></a>			
		
<!--done-->
<h1><a id="Header1_HeaderTitle" class="headermaintitle" href="https://www.cnblogs.com/eedc/">Intimidate</a></h1>
<h2>notes</h2>



		
	</div><!--end: blogTitle 博客的标题和副标题 -->
	<div id="navigator">
		
<ul id="navList">
<li><a id="blog_nav_sitehome" class="menu" href="https://www.cnblogs.com/">博客园</a></li>
<li><a id="blog_nav_myhome" class="menu" href="https://www.cnblogs.com/eedc/">首页</a></li>
<li><a id="blog_nav_newpost" class="menu" rel="nofollow" href="https://i.cnblogs.com/EditPosts.aspx?opt=1">新随笔</a></li>
<li><a id="blog_nav_contact" class="menu" rel="nofollow" href="https://msg.cnblogs.com/send/eedc">联系</a></li>
<li><a id="blog_nav_rss" class="menu" href="https://www.cnblogs.com/eedc/rss">订阅</a>
<!--<a id="blog_nav_rss_image" class="aHeaderXML" href="https://www.cnblogs.com/eedc/rss"><img src="//www.cnblogs.com/images/xml.gif" alt="订阅" /></a>--></li>
<li><a id="blog_nav_admin" class="menu" rel="nofollow" href="https://i.cnblogs.com/">管理</a></li>
</ul>
		<div class="blogStats">
			
			<div id="blog_stats">
<span id="stats_post_count">随笔 - 115&nbsp; </span>
<span id="stats_article_count">文章 - 0&nbsp; </span>
<span id="stats-comment_count">评论 - 14</span>
</div>
			
		</div><!--end: blogStats -->
	</div><!--end: navigator 博客导航栏 -->
</div><!--end: header 头部 -->

<div id="main">
	<div id="mainContent">
	<div class="forFlow">
		
        <div id="post_detail">
<!--done-->
<div id="topics">
	<div class="post">
		<h1 class="postTitle">
			<a id="cb_post_title_url" class="postTitle2" href="https://www.cnblogs.com/eedc/p/6168430.html">如何用命令将本地项目上传到git</a>
		</h1>
		<div class="clear"></div>
		<div class="postBody">
			<div id="cnblogs_post_body" class="blogpost-body"><p>1、（先进入项目文件夹）通过命令 git init 把这个目录变成git可以管理的仓库</p>
<div class="cnblogs_code">
<pre>git init</pre>
</div>
<p>2、把文件添加到版本库中，使用命令 git add .添加到暂存区里面去，不要忘记后面的小数点“.”，意为添加文件夹下的所有文件</p>
<div class="cnblogs_code">
<pre>git add .</pre>
</div>
<p>3、用命令 git commit告诉Git，把文件提交到仓库。引号内为提交说明</p>
<div class="cnblogs_code">
<pre>git commit -m <span style="color: #800000">'</span><span style="color: #800000">first commit</span><span style="color: #800000">'</span></pre>
</div>
<p>4、关联到远程库</p>
<div class="cnblogs_code">
<pre>git remote add origin 你的远程库地址</pre>
</div>
<p>如：</p>
<div class="cnblogs_code">
<pre>git remote add origin https:<span style="color: #008000">//</span><span style="color: #008000">github.com/githubusername/demo.git</span></pre>
</div>
<p>5、获取远程库与本地同步合并（如果远程库不为空必须做这一步，否则后面的提交会失败）</p>
<div class="cnblogs_code">
<pre>git pull --rebase origin master</pre>
</div>
<p>6、把本地库的内容推送到远程，使用 git push命令，实际上是把当前分支master推送到远程。执行此命令后会要求输入用户名、密码，验证通过后即开始上传。</p>
<div class="cnblogs_code">
<pre>git push -u origin master</pre>
</div>
<p>*、状态查询命令</p>
<div class="cnblogs_code">
<pre>git status</pre>
</div>
<p>备：详细请参考&nbsp;http://www.cnblogs.com/tugenhua0707/p/4050072.html</p>
<p>&nbsp;</p>
<p><img src="./如何用命令将本地项目上传到git - eedc - 博客园_files/359884-20171128123923050-1074438610.png" alt=""></p>
<p>&nbsp;</p></div><div id="MySignature"></div>
<div class="clear"></div>
<div id="blog_post_info_block">
<div id="BlogPostCategory">分类: <a href="https://www.cnblogs.com/eedc/category/922789.html" target="_blank">git</a></div>
<div id="EntryTag"></div>
<div id="blog_post_info"><div id="green_channel">
        <a href="javascript:void(0);" id="green_channel_digg" onclick="DiggIt(6168430,cb_blogId,1);green_channel_success(this,&#39;谢谢推荐！&#39;);">好文要顶</a>
            <a id="green_channel_follow" onclick="follow(&#39;9bb6b596-ff23-e111-b422-842b2b196315&#39;);" href="javascript:void(0);">关注我</a>
    <a id="green_channel_favorite" onclick="AddToWz(cb_entryId);return false;" href="javascript:void(0);">收藏该文</a>
    <a id="green_channel_weibo" href="javascript:void(0);" title="分享至新浪微博" onclick="ShareToTsina()"><img src="./如何用命令将本地项目上传到git - eedc - 博客园_files/icon_weibo_24.png" alt=""></a>
    <a id="green_channel_wechat" href="javascript:void(0);" title="分享至微信" onclick="shareOnWechat()"><img src="./如何用命令将本地项目上传到git - eedc - 博客园_files/wechat.png" alt=""></a>
</div>
<div id="author_profile">
    <div id="author_profile_info" class="author_profile_info">
            <a href="http://home.cnblogs.com/u/eedc/" target="_blank"><img src="./如何用命令将本地项目上传到git - eedc - 博客园_files/20180722171115.png" class="author_avatar" alt=""></a>
        <div id="author_profile_detail" class="author_profile_info">
            <a href="http://home.cnblogs.com/u/eedc/">eedc</a><br>
            <a href="http://home.cnblogs.com/u/eedc/followees">关注 - 6</a><br>
            <a href="http://home.cnblogs.com/u/eedc/followers">粉丝 - 19</a>
        </div>
    </div>
    <div class="clear"></div>
    <div id="author_profile_honor"></div>
    <div id="author_profile_follow">
                <a href="javascript:void(0);" onclick="follow(&#39;9bb6b596-ff23-e111-b422-842b2b196315&#39;);return false;">+加关注</a>
    </div>
</div>
<div id="div_digg">
    <div class="diggit" onclick="votePost(6168430,&#39;Digg&#39;)">
        <span class="diggnum" id="digg_count">15</span>
    </div>
    <div class="buryit" onclick="votePost(6168430,&#39;Bury&#39;)">
        <span class="burynum" id="bury_count">0</span>
    </div>
    <div class="clear"></div>
    <div class="diggword" id="digg_tips">
    </div>
</div>
<script type="text/javascript">
    currentDiggType = 0;
</script></div>
<div class="clear"></div>
<div id="post_next_prev"><a href="https://www.cnblogs.com/eedc/p/6163905.html" class="p_n_p_prefix">« </a> 上一篇：<a href="https://www.cnblogs.com/eedc/p/6163905.html" title="发布于2016-12-12 11:48">Sublime text 3 格式化HTML/css/js/json代码  插件</a><br><a href="https://www.cnblogs.com/eedc/p/6175750.html" class="p_n_p_prefix">» </a> 下一篇：<a href="https://www.cnblogs.com/eedc/p/6175750.html" title="发布于2016-12-14 01:54">【转】ASP.NET MVC 数据验证及相关内容</a><br></div>
</div>


		</div>
		<div class="postDesc">posted @ <span id="post-date">2016-12-13 03:16</span> <a href="https://www.cnblogs.com/eedc/">eedc</a> 阅读(<span id="post_view_count">93326</span>) 评论(<span id="post_comment_count">2</span>)  <a href="https://i.cnblogs.com/EditPosts.aspx?postid=6168430" rel="nofollow">编辑</a> <a href="https://www.cnblogs.com/eedc/p/6168430.html#" onclick="AddToWz(6168430);return false;">收藏</a></div>
	</div>
	<script type="text/javascript">var allowComments=true,cb_blogId=158014,cb_entryId=6168430,cb_blogApp=currentBlogApp,cb_blogUserGuid='9bb6b596-ff23-e111-b422-842b2b196315',cb_entryCreatedDate='2016/12/13 3:16:00';loadViewCount(cb_entryId);var cb_postType=1;var isMarkdown=false;</script>
	
</div><!--end: topics 文章、评论容器-->
</div><a name="!comments"></a><div id="blog-comments-placeholder"><div id="comments_pager_top"></div>
<br>
<div class="feedback_area_title">评论列表</div>
<div class="feedbackNoItems"></div>	

		<div class="feedbackItem">
			<div class="feedbackListSubtitle">
				<div class="feedbackManage">
					&nbsp;&nbsp;<span class="comment_actions"></span>
				</div>
				<a href="https://www.cnblogs.com/eedc/p/6168430.html#4124003" class="layer">#1楼</a><a name="4124003" id="comment_anchor_4124003"></a>  <span class="comment_date">2018-11-27 15:57</span> <a id="a_comment_author_4124003" href="http://home.cnblogs.com/u/1422716/" target="_blank">Frank2018</a> <a href="http://msg.cnblogs.com/send/Frank2018" title="发送站内短消息" class="sendMsg2This">&nbsp;</a>
			</div>
			<div class="feedbackCon">
				<div id="comment_body_4124003" class="blog_comment_body">git pull --rebase origin master<br>卡着不动</div><div class="comment_vote"><a href="javascript:void(0);" class="comment_digg" onclick="return voteComment(4124003,&#39;Digg&#39;,this)">支持(0)</a><a href="javascript:void(0);" class="comment_bury" onclick="return voteComment(4124003,&#39;Bury&#39;,this)">反对(0)</a></div>
			</div>
		</div>
	
		<div class="feedbackItem">
			<div class="feedbackListSubtitle">
				<div class="feedbackManage">
					&nbsp;&nbsp;<span class="comment_actions"></span>
				</div>
				<a href="https://www.cnblogs.com/eedc/p/6168430.html#4133233" class="layer">#2楼</a><a name="4133233" id="comment_anchor_4133233"></a><span id="comment-maxId" style="display:none;">4133233</span><span id="comment-maxDate" style="display:none;">2018/12/6 17:54:00</span>  <span class="comment_date">2018-12-06 17:54</span> <a id="a_comment_author_4133233" href="https://www.cnblogs.com/w5942066/" target="_blank">魏杨杨</a> <a href="http://msg.cnblogs.com/send/%E9%AD%8F%E6%9D%A8%E6%9D%A8" title="发送站内短消息" class="sendMsg2This">&nbsp;</a>
			</div>
			<div class="feedbackCon">
				<div id="comment_body_4133233" class="blog_comment_body"><a href="https://www.cnblogs.com/eedc/p/6168430.html#4124003" title="查看所回复的评论" onclick="commentManager.renderComments(0,50,4124003);">@</a>
Frank2018<br>一样  从起电脑就好了 哈哈</div><div class="comment_vote"><a href="javascript:void(0);" class="comment_digg" onclick="return voteComment(4133233,&#39;Digg&#39;,this)">支持(0)</a><a href="javascript:void(0);" class="comment_bury" onclick="return voteComment(4133233,&#39;Bury&#39;,this)">反对(0)</a></div><span id="comment_4133233_avatar" style="display:none;">http://pic.cnblogs.com/face/787521/20180629153055.png</span>
			</div>
		</div>
	<div id="comments_pager_bottom"></div></div><script type="text/javascript">var commentManager = new blogCommentManager();commentManager.renderComments(0);</script>
<div id="comment_form" class="commentform">
<a name="commentform"></a>
<div id="divCommentShow"></div>
<div id="comment_nav"><span id="span_refresh_tips"></span><a href="javascript:void(0);" onclick="return RefreshCommentList();" id="lnk_RefreshComments" runat="server" clientidmode="Static">刷新评论</a><a href="https://www.cnblogs.com/eedc/p/6168430.html#" onclick="return RefreshPage();">刷新页面</a><a href="https://www.cnblogs.com/eedc/p/6168430.html#top">返回顶部</a></div>
<div id="comment_form_container"><div class="login_tips">注册用户登录后才能发表评论，请 <a rel="nofollow" href="javascript:void(0);" class="underline" onclick="return login(&#39;commentform&#39;);">登录</a> 或 <a rel="nofollow" href="javascript:void(0);" class="underline" onclick="return register();">注册</a>，<a href="http://www.cnblogs.com/">访问</a>网站首页。</div></div>
<div class="ad_text_commentbox" id="ad_text_under_commentbox"></div>
<div id="ad_t2"><a href="https://edu.51cto.com/activity/19.html?source=bky" target="_blank" onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;Link&#39;, &#39;click&#39;, &#39;T2-51CTO&#39;)">【幸运】99%的人不知道我们有可以帮你薪资翻倍的秘笈！</a><br><a href="http://www.ucancode.com/index.htm" target="_blank" onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;Link&#39;, &#39;click&#39;, &#39;T2-工控&#39;)">【推荐】超50万C++/C#源码: 大型实时仿真组态图形源码</a><br><a href="https://cloud.baidu.com/campaign/purchase-2019/index.html?track=cp:dsp|pf:pc|pp:chui-bokeyuan-huodong-19caigouji-BCC-neiyeCH-190311|pu:neiyeCH-wenzilian|ci:2019cgj|kw:2105959" target="_blank" onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;Link&#39;, &#39;click&#39;, &#39;T2-百度云&#39;)">【推荐】百度云“猪”你开年行大运，红包疯狂拿</a><br><a href="https://ke.qq.com/adActivity.html?name=xiangxueketang2" target="_blank" onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;Link&#39;, &#39;click&#39;, &#39;T2-享学&#39;)">【推荐】55K刚面完Java架构师岗，这些技术你必须掌握</a><br></div>
<div id="opt_under_post"></div>
<script async="async" src="./如何用命令将本地项目上传到git - eedc - 博客园_files/gpt.js"></script>
<script>
  var googletag = googletag || {};
  googletag.cmd = googletag.cmd || [];
</script>
<script>
  googletag.cmd.push(function() {
        googletag.defineSlot('/1090369/C1', [300, 250], 'div-gpt-ad-1546353474406-0').addService(googletag.pubads());
        googletag.defineSlot('/1090369/C2', [468, 60], 'div-gpt-ad-1539008685004-0').addService(googletag.pubads());
        googletag.pubads().enableSingleRequest();
        googletag.enableServices();
  });
</script>
<div id="cnblogs_c1" class="c_ad_block">
    <div id="div-gpt-ad-1546353474406-0" style="height:250px; width:300px;" data-google-query-id="CO2jw7n-kOECFde2lgodXGcAZA"><div id="google_ads_iframe_/1090369/C1_0__container__" style="border: 0pt none;"><iframe id="google_ads_iframe_/1090369/C1_0" title="3rd party ad content" name="google_ads_iframe_/1090369/C1_0" width="300" height="250" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" style="border: 0px; vertical-align: bottom;" data-google-container-id="1" data-load-complete="true" src="./如何用命令将本地项目上传到git - eedc - 博客园_files/saved_resource.html"></iframe></div></div>
</div>
<div id="under_post_news"></div>
<div id="cnblogs_c2" class="c_ad_block">
    <div id="div-gpt-ad-1539008685004-0" style="height:60px; width:468px;" data-google-query-id="CJfKxLn-kOECFde2lgodXGcAZA"><div id="google_ads_iframe_/1090369/C2_0__container__" style="border: 0pt none;"><iframe id="google_ads_iframe_/1090369/C2_0" title="3rd party ad content" name="google_ads_iframe_/1090369/C2_0" width="468" height="60" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" style="border: 0px; vertical-align: bottom;" data-google-container-id="2" data-load-complete="true" src="./如何用命令将本地项目上传到git - eedc - 博客园_files/saved_resource(1).html"></iframe></div></div>
</div>
<div id="under_post_kb"><div class="itnews c_ad_block"><b>最新新闻</b>：<br> ·  <a href="https://news.cnblogs.com/n/622264/" target="_blank">为什么很多人觉得有流量就能做好游戏？</a><br> ·  <a href="https://news.cnblogs.com/n/622265/" target="_blank">对话真成投资李剑威：两位合伙人先后四次投资老虎证券</a><br> ·  <a href="https://news.cnblogs.com/n/622261/" target="_blank">苹果推出iPhone手机壳和Apple Watch表带的全新春季色彩</a><br> ·  <a href="https://news.cnblogs.com/n/622260/" target="_blank">Model Y毫无惊喜，就是特斯拉的最大惊喜</a><br> ·  <a href="https://news.cnblogs.com/n/622259/" target="_blank">谷歌与DeepMind的矛盾，或爆发于利益、终结于权属</a><br>» <a href="http://news.cnblogs.com/" title="IT新闻" target="_blank">更多新闻...</a></div></div>
<div id="HistoryToday" class="c_ad_block"></div>
<script type="text/javascript">
 if(enablePostBottom()) {
    codeHighlight();
    fixPostBody();
    setTimeout(function () { incrementViewCount(cb_entryId); }, 50);
    deliverT2();
    deliverC1();
    deliverC2();    
    loadNewsAndKb();
    loadBlogSignature();
    LoadPostInfoBlock(cb_blogId, cb_entryId, cb_blogApp, cb_blogUserGuid);
    GetPrevNextPost(cb_entryId, cb_blogId, cb_entryCreatedDate, cb_postType);
    loadOptUnderPost();
    GetHistoryToday(cb_blogId, cb_blogApp, cb_entryCreatedDate);  
}
</script>
</div>

    
	</div><!--end: forFlow -->
	</div><!--end: mainContent 主体内容容器-->

	<div id="sideBar">
		<div id="sideBarMain">
			
<!--done-->
<div class="newsItem">
<h3 class="catListTitle">公告</h3>
	<div id="blog-news"><div id="profile_block">昵称：<a href="https://home.cnblogs.com/u/eedc/">eedc</a><br>园龄：<a href="https://home.cnblogs.com/u/eedc/" title="入园时间：2011-12-11">7年3个月</a><br>粉丝：<a href="https://home.cnblogs.com/u/eedc/followers/">19</a><br>关注：<a href="https://home.cnblogs.com/u/eedc/followees/">6</a><div id="p_b_follow"><a href="javascript:void(0);" onclick="follow(&#39;9bb6b596-ff23-e111-b422-842b2b196315&#39;)">+加关注</a></div><script>getFollowStatus('9bb6b596-ff23-e111-b422-842b2b196315')</script></div></div><script type="text/javascript">loadBlogNews();</script>
</div>

			<div id="blog-calendar" style=""><table id="blogCalendar" class="Cal" cellspacing="0" cellpadding="0" title="Calendar">
	<tbody><tr><td colspan="7"><table class="CalTitle" cellspacing="0">
		<tbody><tr><td class="CalNextPrev"><a href="javascript:void(0);" onclick="loadBlogCalendar(&#39;2019/02/01&#39;);return false;">&lt;</a></td><td align="center">2019年3月</td><td class="CalNextPrev" align="right"><a href="javascript:void(0);" onclick="loadBlogCalendar(&#39;2019/04/01&#39;);return false;">&gt;</a></td></tr>
	</tbody></table></td></tr><tr><th class="CalDayHeader" align="center" abbr="日" scope="col">日</th><th class="CalDayHeader" align="center" abbr="一" scope="col">一</th><th class="CalDayHeader" align="center" abbr="二" scope="col">二</th><th class="CalDayHeader" align="center" abbr="三" scope="col">三</th><th class="CalDayHeader" align="center" abbr="四" scope="col">四</th><th class="CalDayHeader" align="center" abbr="五" scope="col">五</th><th class="CalDayHeader" align="center" abbr="六" scope="col">六</th></tr><tr><td class="CalOtherMonthDay" align="center">24</td><td class="CalOtherMonthDay" align="center">25</td><td class="CalOtherMonthDay" align="center">26</td><td class="CalOtherMonthDay" align="center">27</td><td class="CalOtherMonthDay" align="center">28</td><td align="center">1</td><td class="CalWeekendDay" align="center">2</td></tr><tr><td class="CalWeekendDay" align="center">3</td><td align="center">4</td><td align="center">5</td><td align="center">6</td><td align="center">7</td><td align="center">8</td><td class="CalWeekendDay" align="center">9</td></tr><tr><td class="CalWeekendDay" align="center">10</td><td align="center">11</td><td align="center"><a href="https://www.cnblogs.com/eedc/archive/2019/03/12.html"><u>12</u></a></td><td align="center">13</td><td align="center">14</td><td align="center">15</td><td class="CalWeekendDay" align="center">16</td></tr><tr><td class="CalWeekendDay" align="center">17</td><td align="center">18</td><td align="center">19</td><td class="CalTodayDay" align="center">20</td><td align="center">21</td><td align="center">22</td><td class="CalWeekendDay" align="center">23</td></tr><tr><td class="CalWeekendDay" align="center">24</td><td align="center">25</td><td align="center">26</td><td align="center">27</td><td align="center">28</td><td align="center">29</td><td class="CalWeekendDay" align="center">30</td></tr><tr><td class="CalWeekendDay" align="center">31</td><td class="CalOtherMonthDay" align="center">1</td><td class="CalOtherMonthDay" align="center">2</td><td class="CalOtherMonthDay" align="center">3</td><td class="CalOtherMonthDay" align="center">4</td><td class="CalOtherMonthDay" align="center">5</td><td class="CalOtherMonthDay" align="center">6</td></tr>
</tbody></table></div><script type="text/javascript">loadBlogDefaultCalendar();</script>
			
			<div id="leftcontentcontainer">
				<div id="blog-sidecolumn"><div id="sidebar_search" class="sidebar-block">
<div id="sidebar_search" class="mySearch">
<h3 class="catListTitle">搜索</h3>
<div id="sidebar_search_box">
<div id="widget_my_zzk" class="div_my_zzk"><input type="text" id="q" onkeydown="return zzk_go_enter(event);" class="input_my_zzk">&nbsp;<input onclick="zzk_go()" type="button" value="找找看" id="btnZzk" class="btn_my_zzk"></div>
<div id="widget_my_google" class="div_my_zzk"><input type="text" name="google_q" id="google_q" onkeydown="return google_go_enter(event)" class="input_my_zzk">&nbsp;<input onclick="google_go()" type="button" value="谷歌搜索" class="btn_my_zzk"></div>
</div>
</div>

</div><div id="sidebar_shortcut" class="sidebar-block">
<div class="catListLink">
<h3 class="catListTitle">常用链接</h3>
<ul>
<li><a href="https://www.cnblogs.com/eedc/p/" title="我的博客的随笔列表">我的随笔</a></li><li><a href="https://www.cnblogs.com/eedc/MyComments.html" title="我发表过的评论列表">我的评论</a></li><li><a href="https://www.cnblogs.com/eedc/OtherPosts.html" title="我评论过的随笔列表">我的参与</a></li><li><a href="https://www.cnblogs.com/eedc/RecentComments.html" title="我的博客的评论列表">最新评论</a></li><li><a href="https://www.cnblogs.com/eedc/tag/" title="我的博客的标签列表">我的标签</a></li>
</ul>
<div id="itemListLin_con" style="display:none;">
<ul>

</ul>
</div>
</div></div><div id="sidebar_toptags" class="sidebar-block"></div><div id="sidebar_categories">
<div id="sidebar_postcategory" class="catListPostCategory sidebar-block">
<h3 class="catListTitle">随笔分类</h3>

<ul>

<li><a id="CatList_LinkList_0_Link_0" href="https://www.cnblogs.com/eedc/category/1222744.html">ABP.net(2)</a> </li>

<li><a id="CatList_LinkList_0_Link_1" href="https://www.cnblogs.com/eedc/category/924321.html">Angular.Js/Ionic(13)</a> </li>

<li><a id="CatList_LinkList_0_Link_2" href="https://www.cnblogs.com/eedc/category/922378.html">C#(25)</a> </li>

<li><a id="CatList_LinkList_0_Link_3" href="https://www.cnblogs.com/eedc/category/908735.html">CSS(1)</a> </li>

<li><a id="CatList_LinkList_0_Link_4" href="https://www.cnblogs.com/eedc/category/922789.html">git(1)</a> </li>

<li><a id="CatList_LinkList_0_Link_5" href="https://www.cnblogs.com/eedc/category/1356234.html">Html(1)</a> </li>

<li><a id="CatList_LinkList_0_Link_6" href="https://www.cnblogs.com/eedc/category/908305.html">JS(18)</a> </li>

<li><a id="CatList_LinkList_0_Link_7" href="https://www.cnblogs.com/eedc/category/910393.html">MVC(10)</a> </li>

<li><a id="CatList_LinkList_0_Link_8" href="https://www.cnblogs.com/eedc/category/914191.html">MVVM(1)</a> </li>

<li><a id="CatList_LinkList_0_Link_9" href="https://www.cnblogs.com/eedc/category/1231163.html">Mysql(2)</a> </li>

<li><a id="CatList_LinkList_0_Link_10" href="https://www.cnblogs.com/eedc/category/1351267.html">Nginx(4)</a> </li>

<li><a id="CatList_LinkList_0_Link_11" href="https://www.cnblogs.com/eedc/category/914984.html">Nuget(1)</a> </li>

<li><a id="CatList_LinkList_0_Link_12" href="https://www.cnblogs.com/eedc/category/1351268.html">Odoo(1)</a> </li>

<li><a id="CatList_LinkList_0_Link_13" href="https://www.cnblogs.com/eedc/category/1185470.html">Python(1)</a> </li>

<li><a id="CatList_LinkList_0_Link_14" href="https://www.cnblogs.com/eedc/category/938671.html">Token/Oauth认证类(6)</a> </li>

<li><a id="CatList_LinkList_0_Link_15" href="https://www.cnblogs.com/eedc/category/975060.html">Vps(5)</a> </li>

<li><a id="CatList_LinkList_0_Link_16" href="https://www.cnblogs.com/eedc/category/1273393.html">测试(1)</a> </li>

<li><a id="CatList_LinkList_0_Link_17" href="https://www.cnblogs.com/eedc/category/1215853.html">服务器(8)</a> </li>

<li><a id="CatList_LinkList_0_Link_18" href="https://www.cnblogs.com/eedc/category/922422.html">工具(12)</a> </li>

<li><a id="CatList_LinkList_0_Link_19" href="https://www.cnblogs.com/eedc/category/1111376.html">规范(1)</a> </li>

<li><a id="CatList_LinkList_0_Link_20" href="https://www.cnblogs.com/eedc/category/1218549.html">缓存(1)</a> </li>

<li><a id="CatList_LinkList_0_Link_21" href="https://www.cnblogs.com/eedc/category/926361.html">深度好文(2)</a> </li>

<li><a id="CatList_LinkList_0_Link_22" href="https://www.cnblogs.com/eedc/category/1120090.html">数据库(6)</a> </li>

</ul>

</div>

<div id="sidebar_postarchive" class="catListPostArchive sidebar-block">
<h3 class="catListTitle">随笔档案</h3>

<ul>

<li><a id="CatList_LinkList_1_Link_0" href="https://www.cnblogs.com/eedc/archive/2019/03.html">2019年3月 (1)</a> </li>

<li><a id="CatList_LinkList_1_Link_1" href="https://www.cnblogs.com/eedc/archive/2019/01.html">2019年1月 (2)</a> </li>

<li><a id="CatList_LinkList_1_Link_2" href="https://www.cnblogs.com/eedc/archive/2018/12.html">2018年12月 (7)</a> </li>

<li><a id="CatList_LinkList_1_Link_3" href="https://www.cnblogs.com/eedc/archive/2018/11.html">2018年11月 (5)</a> </li>

<li><a id="CatList_LinkList_1_Link_4" href="https://www.cnblogs.com/eedc/archive/2018/10.html">2018年10月 (1)</a> </li>

<li><a id="CatList_LinkList_1_Link_5" href="https://www.cnblogs.com/eedc/archive/2018/09.html">2018年9月 (2)</a> </li>

<li><a id="CatList_LinkList_1_Link_6" href="https://www.cnblogs.com/eedc/archive/2018/08.html">2018年8月 (3)</a> </li>

<li><a id="CatList_LinkList_1_Link_7" href="https://www.cnblogs.com/eedc/archive/2018/07.html">2018年7月 (6)</a> </li>

<li><a id="CatList_LinkList_1_Link_8" href="https://www.cnblogs.com/eedc/archive/2018/06.html">2018年6月 (9)</a> </li>

<li><a id="CatList_LinkList_1_Link_9" href="https://www.cnblogs.com/eedc/archive/2018/05.html">2018年5月 (11)</a> </li>

<li><a id="CatList_LinkList_1_Link_10" href="https://www.cnblogs.com/eedc/archive/2018/03.html">2018年3月 (1)</a> </li>

<li><a id="CatList_LinkList_1_Link_11" href="https://www.cnblogs.com/eedc/archive/2017/12.html">2017年12月 (3)</a> </li>

<li><a id="CatList_LinkList_1_Link_12" href="https://www.cnblogs.com/eedc/archive/2017/11.html">2017年11月 (11)</a> </li>

<li><a id="CatList_LinkList_1_Link_13" href="https://www.cnblogs.com/eedc/archive/2017/09.html">2017年9月 (1)</a> </li>

<li><a id="CatList_LinkList_1_Link_14" href="https://www.cnblogs.com/eedc/archive/2017/08.html">2017年8月 (2)</a> </li>

<li><a id="CatList_LinkList_1_Link_15" href="https://www.cnblogs.com/eedc/archive/2017/07.html">2017年7月 (1)</a> </li>

<li><a id="CatList_LinkList_1_Link_16" href="https://www.cnblogs.com/eedc/archive/2017/05.html">2017年5月 (6)</a> </li>

<li><a id="CatList_LinkList_1_Link_17" href="https://www.cnblogs.com/eedc/archive/2017/04.html">2017年4月 (1)</a> </li>

<li><a id="CatList_LinkList_1_Link_18" href="https://www.cnblogs.com/eedc/archive/2017/03.html">2017年3月 (4)</a> </li>

<li><a id="CatList_LinkList_1_Link_19" href="https://www.cnblogs.com/eedc/archive/2017/02.html">2017年2月 (1)</a> </li>

<li><a id="CatList_LinkList_1_Link_20" href="https://www.cnblogs.com/eedc/archive/2017/01.html">2017年1月 (10)</a> </li>

<li><a id="CatList_LinkList_1_Link_21" href="https://www.cnblogs.com/eedc/archive/2016/12.html">2016年12月 (14)</a> </li>

<li><a id="CatList_LinkList_1_Link_22" href="https://www.cnblogs.com/eedc/archive/2016/11.html">2016年11月 (13)</a> </li>

</ul>

</div>

</div><div id="sidebar_recentcomments" class="sidebar-block"><div id="recent_comments_wrap">
<div class="catListComment">
<h3 class="catListTitle">最新评论</h3>

	<div id="RecentCommentsBlock"><ul>
        <li class="recent_comment_title"><a href="https://www.cnblogs.com/eedc/p/6168430.html#4133233">1. Re:如何用命令将本地项目上传到git</a></li>
        <li class="recent_comment_body">@Frank2018一样 从起电脑就好了 哈哈...</li>
        <li class="recent_comment_author">--魏杨杨</li>
        <li class="recent_comment_title"><a href="https://www.cnblogs.com/eedc/p/6168430.html#4124003">2. Re:如何用命令将本地项目上传到git</a></li>
        <li class="recent_comment_body">git pull --rebase origin master<br>卡着不动</li>
        <li class="recent_comment_author">--Frank2018</li>
        <li class="recent_comment_title"><a href="https://www.cnblogs.com/eedc/p/6343201.html#4099594">3. Re:【转】C#中base关键字的几种用法</a></li>
        <li class="recent_comment_body">第一个哪怕不加：base()也会两个都输出的好吗<br>实例化子类对像时，本身就会先调用父类默认构造函数，在调用子类构造函数</li>
        <li class="recent_comment_author">--安迪巴</li>
        <li class="recent_comment_title"><a href="https://www.cnblogs.com/eedc/p/6163905.html#4059493">4. Re:Sublime text 3 格式化HTML/css/js/json代码  插件</a></li>
        <li class="recent_comment_body">@小白白呢在美化代码式时遇到一个未处理的系统错误。这通常表示Node.js。在默认路径中没有找到。请指定位置。解决办法：在D:\Program Files\sublimetext3\Sublime T......</li>
        <li class="recent_comment_author">--PeterChu</li>
        <li class="recent_comment_title"><a href="https://www.cnblogs.com/eedc/p/6082052.html#3981340">5. Re:【转】asp.net mvc webapi+angular.js案例</a></li>
        <li class="recent_comment_body">朋友你确定 $http.get()后面有success方法?? 为什么我会报错 没有success()方法?</li>
        <li class="recent_comment_author">--今夜风儿轻轻吹</li>
</ul>
</div>
</div>
</div></div><div id="sidebar_topviewedposts" class="sidebar-block"><div id="topview_posts_wrap">
<div class="catListView">
<h3 class="catListTitle">阅读排行榜</h3>
	<div id="TopViewPostsBlock"><ul><li><a href="https://www.cnblogs.com/eedc/p/6168430.html">1. 如何用命令将本地项目上传到git(93324)</a></li><li><a href="https://www.cnblogs.com/eedc/p/6163905.html">2. Sublime text 3 格式化HTML/css/js/json代码  插件(36521)</a></li><li><a href="https://www.cnblogs.com/eedc/p/6057391.html">3. Javascript写入txt和读取txt文件示例(28703)</a></li><li><a href="https://www.cnblogs.com/eedc/p/6343201.html">4. 【转】C#中base关键字的几种用法(17286)</a></li><li><a href="https://www.cnblogs.com/eedc/p/6186393.html">5. Sublime代码折叠(15851)</a></li></ul></div>
</div>
</div></div><div id="sidebar_topcommentedposts" class="sidebar-block"><div id="topfeedback_posts_wrap">
<div class="catListFeedback">
<h3 class="catListTitle">评论排行榜</h3>
	<div id="TopFeedbackPostsBlock"><ul><li><a href="https://www.cnblogs.com/eedc/p/6082052.html">1. 【转】asp.net mvc webapi+angular.js案例(4)</a></li><li><a href="https://www.cnblogs.com/eedc/p/6163905.html">2. Sublime text 3 格式化HTML/css/js/json代码  插件(3)</a></li><li><a href="https://www.cnblogs.com/eedc/p/6168430.html">3. 如何用命令将本地项目上传到git(2)</a></li><li><a href="https://www.cnblogs.com/eedc/p/6370341.html">4. 【转】AngularJs HTTP请求响应拦截器(2)</a></li><li><a href="https://www.cnblogs.com/eedc/p/6343201.html">5. 【转】C#中base关键字的几种用法(2)</a></li></ul></div>
</div>
</div></div><div id="sidebar_topdiggedposts" class="sidebar-block"><div id="topdigg_posts_wrap">
<div class="catListView">
<h3 class="catListTitle">推荐排行榜</h3>
<div id="TopDiggPostsBlock"><ul><li><a href="https://www.cnblogs.com/eedc/p/6168430.html">1. 如何用命令将本地项目上传到git(15)</a></li><li><a href="https://www.cnblogs.com/eedc/p/6127181.html">2. Asp.Net Mvc使用Autofac实现依赖注入(1)</a></li><li><a href="https://www.cnblogs.com/eedc/p/6082052.html">3. 【转】asp.net mvc webapi+angular.js案例(1)</a></li><li><a href="https://www.cnblogs.com/eedc/p/6343201.html">4. 【转】C#中base关键字的几种用法(1)</a></li><li><a href="https://www.cnblogs.com/eedc/p/6286482.html">5. 【转】使用gulp 进行ES6开发(1)</a></li></ul></div>
</div></div></div></div><script type="text/javascript">loadBlogSideColumn();</script>
			</div>
			
		</div><!--end: sideBarMain -->
	</div><!--end: sideBar 侧边栏容器 -->
	<div class="clear"></div>
	</div><!--end: main -->
	<div class="clear"></div>
	<div id="footer">
		
<!--done-->
Copyright ©2019 eedc
	</div><!--end: footer -->
</div><!--end: home 自定义的最大容器 -->



<iframe id="google_osd_static_frame_409824405000" name="google_osd_static_frame" style="display: none; width: 0px; height: 0px;" src="./如何用命令将本地项目上传到git - eedc - 博客园_files/saved_resource(2).html"></iframe></body></html>